package com.wm.blog_admin.event;

import com.wm.blog_admin.domain.MailDo;
import com.wm.blog_common.domain.TIconDO;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.context.ApplicationEvent;

/**
 * @author wm_yu 邮件监听对象
 * @date 2020-4-29 11:17
 */
@Data
public class MailEvent extends ApplicationEvent {

  private MailDo mailDo;

    public MailEvent(Object source, MailDo mailDo) {
        super(source);
        this.mailDo = mailDo;
    }
}
